﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DapperExtensions.Mapper;
using Newtonsoft.Json;
using ZLWeb.WebApiEntityBase;
using ZilLion.Service.Core.Domain.EntityBase.JsonConverter;

namespace ZL.CRM.CommonEntity.AccOpr
{
    public class QianzhYwInfo : HouzhYwInfo
    {
        /// <summary>
        /// 操作记录：发生品牌id
        /// </summary>
        public int Oprppid { get; set; }

        /// <summary>
        /// 操作记录：发生品牌名称
        /// </summary>
        public string Oprppname { get; set; }



    }
    public class QianzhYwInfoMapper : ClassMapper<QianzhYwInfo>
    {
        public QianzhYwInfoMapper()
        {
            Table("#YwInfo");
            Map(f => f.Oprywsno).Column("Oprywsno");
            Map(f => f.Oprywdrwsno).Column("Oprywdrwsno");
            Map(f => f.Oprid).Column("Oprid");
            Map(f => f.Oprname).Column("Oprname");
            Map(f => f.Oprywdate).Column("Oprywdate");
            Map(f => f.Oprskywdate).Column("Oprskywdate");
            Map(f => f.Oprskbrid).Column("Oprskbrid");
            Map(f => f.Oprskbrname).Column("Oprskbrname");
            Map(f => f.Oprskppid).Column("Oprskppid");
            Map(f => f.Oprskppname).Column("Oprskppname");
            Map(f => f.Oprywwindow).Column("Oprywwindow");
            Map(f => f.Oprywbno).Column("Oprywbno");
            Map(f => f.Oprsummary).Column("Oprsummary");
            Map(f => f.Oprppid).Column("oprppid");
            Map(f => f.Oprppname).Column("oprppname");

        }


    }
}
